package com.tledu.zyf.util;

import com.tledu.zyf.dao.IUserDao;
import com.tledu.zyf.dao.impl.GroupDao;
import com.tledu.zyf.dao.impl.UserDao;
import com.tledu.zyf.service.IUserService;
import com.tledu.zyf.service.impl.GroupService;
import com.tledu.zyf.service.impl.UserService;

public class ObjectFactory {
	public static IUserService getUserService() {
		return new UserService();
	}

	public static IUserDao getUserDao() {
		return new UserDao();
	}

	public static GroupService getGroupService() {
		return new GroupService();
	}

	public static GroupDao getGroupDao() {
		return new GroupDao();
	}
}
